Request csd for tooltips
authorMatthias Clasen <mclasen@redhat.com>
Sat, 7 Jun 2014 01:33:36 +0000 (21:33 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 9 Jun 2014 18:15:28 +0000 (14:15 -0400)
Use the new private GtkWindow api to request
client-side decorations for tooltips.

https://bugzilla.gnome.org/show_bug.cgi?id=731187

gtk/gtktooltip.c

index 5aabf42917ec84e239680ae99d8034ee4eb4b782..2b70204172ed0111f4eb1dff39f349d1e4a38f53 100644 (file)
@@ -188,6 +188,7 @@ gtk_tooltip_init (GtkTooltip *tooltip)
   g_signal_connect (window, "hide",
                     G_CALLBACK (gtk_tooltip_window_hide), tooltip);
 
+  _gtk_window_request_csd (GTK_WINDOW (window));
   context = gtk_widget_get_style_context (window);
   gtk_style_context_add_class (context, GTK_STYLE_CLASS_TOOLTIP);